<?php
	if(($menuID = $_GET['id'])){
		switch($menuID){
			case 1:
				echo"<div class='left'>			
						<h2>About WICE</h2>
						<p>The WICE project is an effort to join the greatest minds around the world into a web-based community centered on conducting Hydrodynamic research.  Until recently, X-ray crystallography has been scientists primary means of understanding proteins and their structures.  The study of Hydrodynamics takes this understanding further by studying proteins in their more natural aqueous environment which will return more accurate results.  To achieve such accuracy requires immense computational power.  Three performance intensive programs have been developed for Hydrodynamic research called, MRSOLL, COALESCE, and BEST.  Each program utilizes NVIDIA's CUDA technology to achieve super-computer performance and is directly available to researchers of the WICE community in the comfort of their own web-browser.</p>
					</div>

					<div class='right'>
						<h2>Join the WICE Community</h2>
						<p><img src='button.png'></img></p>
						<h3>Your workspace will allow you to:</h3>
						<ul style='border-top:0px solid #ccc;list-style:circle;margin:5px 0 15px 0;padding-left:17px;'>
								<li>Create folders and save your files</li>
								<li>View a history of computations and share your results with other researchers</li>
								<li>Run MSROLL, RCOAL, and BEST on blazing fast hardware!</li>
								<li>Click here to learn more about your workspace</li>
						</ul>
					</div>
					<div class='clear'>&nbsp;</div>";
				break;
			case 2:
				echo"<div id='sidebar'>
						<div class='sidebarbox'>
						   <h2>Workspace Directory</h2>
							<ul class='sidemenu'>
								<li><a href='index.html'>Public</a></li>
								<li><a href='#'>Private</a>
									<ul>
										<li><a href='index.html'>Complete</a></li>
										<li><a href='examples.html'>Incomplete</a></li>
									</ul></li>
								<li><a href='#'>Other</a></li>
							</ul>
						</div>
					</div>
					
					<div id='content'>
						<h2>Browsing: /public</h2>
						<table>
							<tr></tr>
							<tr></tr>
						</table>
						<table>
							<tr><th>Filename</th><th>Shared</th><th>Date Added</th><th>Size</th></tr>
							<tr><td><input type='checkbox'> file1.pdb</td><td>&nbsp;&nbsp;</td><td>1/15/2008</td><td>2KB</td></tr>
							<tr><td><input type='checkbox'> file2.pdb</td><td>&nbsp;&nbsp;</td><td>1/15/2008</td><td>2KB</td></tr>
							<tr><td><input type='checkbox'> file3.pdb</td><td>&nbsp;&nbsp;</td><td>1/15/2008</td><td>2KB</td></tr>
							<tr><td><input type='checkbox'> file4.pdb</td><td>&nbsp;&nbsp;</td><td>1/15/2008</td><td>2KB</td></tr>
						</table>
						<div class='clear'>&nbsp;</div>
					</div>
					
					<div class='clear'>&nbsp;</div>";
				break;
			case 3:
				echo"<div class='left'>
						<div class='left'>
							<h2>MSROLL</h2>
							<p>Generate a triangle mesh representing the surface of the protein</p>
							<div id='actions'>
							</div>
							<h3>Computations Running</h3>
							<ul>
								<li><a>MSROLL-512</a></li>
							</ul>
							<h3>Recent Computations</h3>
							<ul>
								<li onclick='loadInfo(1)'><a>MSROLL-508-1/13/2011-13:23:08</a></li>
								<li><a>MSROLL-509-1/14/2011-01:03:22</a></li>
								<li><a>MSROLL-510-1/15/2011-09:55:32</a></li>
								<li><a>MSROLL-511-1/16/2011-06:36:12</a></li>
							</ul>
						</div>
						<div id='fileinfo' class='right'>
							<h2>Start Here</h2>
							<h4>1. Upload File (.pdb):</h4>
							</br>
							<form>
								<input type='text' name='pdbfile'/><button>Browse</button></br>
							</form>
							</br>
							<h4>*2. Upload Atomic Radii File:</h4>
							<form>
								<input type='text' name='radiifile'/><button>Browse</button></br>
							</form>
							</br>
							<h4>3. Enter Parameters:</h4>
							<form>
								Probe Radius:</br>
								<input type='text' name='radius'/></br>
								Fineness:</br>
								<input type='text' name='fineness'/></br>
								* = Optional
							</form>
							</br>
							<button>Begin New MSROLL Computation</button>
						</div>
					</div>
					<div class='right'>
					</div>
					<div class='clear'>&nbsp;</div>";
				break;
			case 4:
				echo "<div class='left'>
						<div class='left'>
							<h2>RCOAL</h2>
							<p>Make your MSROLL results suitable for boundary computations by reducing the number of triangles in the protein's mesh</p>
							<div id='actions'>
							</div>
							<h3>Computations Running</h3>
							<ul>
								<li><a>RCOAL-123</a></li>
							</ul>
							<h3>Recent Computations</h3>
							<ul>
								<li><a>RCOAL-119-1/13/2011-13:23:08</a></li>
								<li><a>RCOAL-120-1/14/2011-01:03:22</a></li>
								<li><a>RCOAL-121-1/15/2011-09:55:32</a></li>
								<li><a>RCOAL-122-1/16/2011-06:36:12</a></li>
							</ul>
						</div>
						<div id='fileinfo' class='right'>
							<h2>Start Here</h2>
							<h4>1. Upload File (.c3p):</h4>
							</br>
							<form>
								<input type='text' name='pdbfile'/><button>Browse</button></br>
							</form>
							</br>
							<h4>3. Enter Parameters:</h4>
							<form>
								Max Number of Triangles:</br>
								<input type='text' name='trimax'/></br>
								Min Number of Triangles:</br>
								<input type='text' name='trimin'/></br>
								Number of Triangulations:</br>
								<input type='text' name='trinum'/></br>
							</form>
							</br>
							<button>Begin New RCOAL Computation</button>
						</div>
					</div>
					<div class='right'>
					</div>
					<div class='clear'>&nbsp;</div>";
				break;
			case 5:
				echo"<div class='left'>
						<div class='left'>
							<h2>BEST</h2>
							<p>Calculate the hydrodynamic tensor strength of the protein with your results from RCOAL</p>
							<div id='actions'>
							</div>
							<h3>Computations Running</h3>
							<ul>
								<li><a>BEST-5</a></li>
							</ul>
							<h3>Recent Computations</h3>
							<ul>
								<li><a>BEST-1-1/13/2011-13:23:08</a></li>
								<li><a>BEST-2-1/14/2011-01:03:22</a></li>
								<li><a>BEST-3-1/15/2011-09:55:32</a></li>
								<li><a>BEST-4-1/16/2011-06:36:12</a></li>
							</ul>
						</div>
						<div id='fileinfo' class='right'>
							<h2>Start Here</h2>
							<h4>1. Upload File (.bst):</h4>
							</br>
							<form>
								<input type='text' name='pdbfile'/><button>Browse</button></br>
							</form>
							</br>
							<h4>3. Enter Parameters:</h4>
							<form>
								Viscosity Factor at Centroid:
								<input type='checkbox' name='trimax'/></br>
								Viscosity Factor at Visc-center:
								<input type='checkbox' name='trimin'/></br>
								Intrinsic Viscosity:
								<input type='checkbox' name='trinum'/></br>
							</form>
							</br>
							<button>Begin New BEST Computation</button>
						</div>
					</div>
					<div class='right'>
					</div>
					<div class='clear'>&nbsp;</div>";
				break;
		}
		
	}
		
?>